home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / greenlight_mini.gsh < prev    next >
Text File  |  2000-08-22  |  1KB  |  51 lines

  1. // defines green light
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_greenlight_mini_GSH
  8. #define INCLUDED_greenlight_mini_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. //pgenerator Pgn_green_mini
  13. //{
  14. //    type corona
  15. //    life infinite
  16. //    rate 1            // exactly the same as the decay rate hence the effect !
  17.     
  18.     // stream direction
  19. //    x    0
  20. //    y    0
  21. //    z    0
  22.     
  23.     // particle colour
  24. //    red   0.2
  25. //    green 1
  26. //    blue  0.2
  27. //    alpha 1
  28. //}
  29.  
  30. light Lit_green_mini
  31. {
  32.     red             2
  33.     green           5
  34.     blue            2
  35.     specular red    0.1
  36.     specular green    1.5
  37.     specular blue    0.1
  38.     range           4
  39.  
  40. }
  41.  
  42. role Rol_Greenlight_mini : Rol_PlacedObject
  43. {
  44. //    shape Pgn_green_mini
  45.     light Lit_green_mini
  46. }
  47.  
  48. ////////////////////////////////////////////////////////////////////////////////////
  49.  
  50. // end wrapper - for preventing multiple or recursive inclusions
  51. #endif // !INCLUDED_greenlight_mini_GSH